package com.project.service;

import java.util.List;

import com.project.entity.News;
import com.project.entity.NewsExample;

public interface NewsManage {
	public List<News> getAllNews(Integer start, Integer end);
	
	public void insertNews(News news);
	
	public void deleteById(Integer id);
	
	public News getNewsById(Integer id);
	
	public void updateNews(News news);
	
	public List<News> findByAuther(String autherName);

}
